package com.thememaker.lockstyle.bean.action;


import com.thememaker.lockstyle.bean.command.IntentCommand;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "launchpad")
public class LaunchPad {
    private String index;
    private String LaunchPad_action;
    private String LaunchPad_package;
    private String LaunchPad_class;
    private String type;
    private String category;
    private IntentCommand intentCommand;

    public LaunchPad() {
    }

    public LaunchPad(IntentCommand intentCommand) {
        this.intentCommand = intentCommand;
    }

    public LaunchPad(String index, String launchPad_action, String launchPad_package, String launchPad_class, String type, String category) {
        this.index = index;
        LaunchPad_action = launchPad_action;
        LaunchPad_package = launchPad_package;
        LaunchPad_class = launchPad_class;
        this.type = type;
        this.category = category;
    }

    public IntentCommand getIntentCommand() {
        return intentCommand;
    }

    public void setIntentCommand(IntentCommand intentCommand) {
        this.intentCommand = intentCommand;
    }

    @Override
    public String toString() {
        return "LaunchPad{" +
                "index='" + index + '\'' +
                ", LaunchPad_action='" + LaunchPad_action + '\'' +
                ", LaunchPad_package='" + LaunchPad_package + '\'' +
                ", LaunchPad_class='" + LaunchPad_class + '\'' +
                ", type='" + type + '\'' +
                ", category='" + category + '\'' +
                ", intentCommand=" + intentCommand +
                '}';
    }

    @XmlAttribute(name = "type")
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    @XmlAttribute(name = "category")
    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
    @XmlAttribute(name = "index")
    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }
    @XmlAttribute(name = "action")
    public String getLaunchPad_action() {
        return LaunchPad_action;
    }

    public void setLaunchPad_action(String launchPad_action) {
        LaunchPad_action = launchPad_action;
    }
    @XmlAttribute(name = "package")
    public String getLaunchPad_package() {
        return LaunchPad_package;
    }

    public void setLaunchPad_package(String launchPad_package) {
        LaunchPad_package = launchPad_package;
    }
    @XmlAttribute(name = "class")
    public String getLaunchPad_class() {
        return LaunchPad_class;
    }

    public void setLaunchPad_class(String launchPad_class) {
        LaunchPad_class = launchPad_class;
    }
}
